﻿#include "CmdSavePostMarkerRemoveAllSettingData.h"
#include <QFile>
#include <QDebug>
#include "BaseModule/IBaseSignal.h"
#include "PostCommandPy.h"

namespace PostCommand
{
    CmdSavePostMarkerRemoveAllSettingData::CmdSavePostMarkerRemoveAllSettingData()
        : CommandBase()
    {
        this->initCmdName();
    }
    CmdSavePostMarkerRemoveAllSettingData::~CmdSavePostMarkerRemoveAllSettingData()
    {
    }

    bool CmdSavePostMarkerRemoveAllSettingData::execute()
    {
        emit IBaseSignalInstance->signal_savePostMarkerRemoveAllSettingData(m_windowUniversalID);
        return true;
    }

    void CmdSavePostMarkerRemoveAllSettingData::undo()
    {
    }

    void CmdSavePostMarkerRemoveAllSettingData::redo()
    {
        // execute();
    }

    void CmdSavePostMarkerRemoveAllSettingData::savePostMarkerRemoveAllSettingData(int windowUniversalID)
    {
        m_windowUniversalID = windowUniversalID;
    }

} // namespace PostCommand
